{include file='header.tpl'}
{include file='shop/leftshop.tpl'}
<div id="left-area">
<div class="entry post clearfix width-for-all-img">
    <h1 class="category-title">Профиль мастера</h1> 
       <div style="float:right;"><img src="{$shop->photo}" alt="{$shop->login}"  width="200"></div>  
    <h2 class="category-title">{$shop->first_name}</h2>
        <span class="countrycity">{$shop->country}, {$shop->city}</span>
     
        <div class='date_reg'>
            <div style="display: table-cell;width: 310px;">Последний визит <br>{$shop->date_last|date_format:'%d %B %Y %H:%m'} </div>
            <div style="display: table-cell;"> Дата регистрации  <br>{$shop->date_reg|date_format:'%d %B %Y %H:%m'} </div>
        </div>
       <!-- <div class="clear"></div>-->
      <div class="row" >
            <label>О себе:</label>
         {$shop->content}
        </div>
        
        <div class="row" >
       <label>E-mail:</label>
         {$shop->email}
        </div>  
        <div class="row">
            <label>Основной телефон:</label>
            {$shop->phone}
        </div>
        {if $shop->custom_phones}
        <div class="row">
            <label>Дополнительные телефоны:</label>
            {$shop->custom_phones}
        </div>
        {/if}
        <div class="row" >
          <label>Работы:</label>
          <a href="{getsuburl route="shop" name=$shop->nameshop action="index"}?type=1" style="margin-right:15px;">Готовые({$type.one})</a>
          <a href="{getsuburl route="shop" name=$shop->nameshop action="index"}?type=2" style="margin-right:15px;">На заказ({$type.two})</a>
          <a href="{getsuburl route="shop" name=$shop->nameshop action="index"}?type=3" style="margin-right:15px;">Для примера({$type.three})</a>
          <a href="{getsuburl route="shop" name=$shop->nameshop action="index"}">Все({$type.all})</a>
        </div>
        
        
      </div>
</div>  
{include file='footer.tpl'}
